using System.Collections;

namespace Anvil.Core
{
	/// <summary>
	/// Concrete {@link IContext} implementation.
	/// </summary>
	public class Context : Hashtable, IContext
	{
		/// <summary>
		/// Default constructor.
		/// </summary>
		public Context()
		{
		}

		/// <summary>
		/// Convenience constructor to create new Context 
		/// and add a new item.
		/// </summary>
		/// <param name="key">Index for entry</param>
		/// <param name="_value">Value for entry</param>
		public Context(string key, object _value)
		{
			this.Add(key, _value);
		}
	}
}